package com.scenic.user.service.mapper;

import com.model.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface SysUserMapper {

    /**
     * 根据用户名查询用户数据
     * @param userName
     * @return
     */
    public abstract SysUser selectByUserName(String userName) ;

    void insert(SysUser sysUser1);

    SysUser selectById(String userId);

    SysUser selectByPhone(String phone);

    SysUser selectByEmail(String userName);
}
